package coder;

import com.spring.boot.core.coder.writers.SqlToServerCode;
import com.spring.boot.core.utils.FileUtils;

public class MyGenerateCodes {

	public static void main(String[] args) throws Exception {

		//ProtoToServerCode.MakeProtocol("/protobuf", "com.weilive.api.gate.protobuf.protocol", null, "com.weilive.api.gate.json.protocol", "com.weilive.api.gate.json.handler");

		//SqlToServerCode.writeAtClassDirXML(FileUtils.getTestResourceDir() + "database/public.sql", "com.spring.boot.dao");
		
		SqlToServerCode.writeAtClassDir(FileUtils.getTestResourceDir() + "database/public.sql", "com.spring.boot.dao");
	}
}
